Repository navigation
Conversation
This reverts commit 67ebc52. These changes are superseded by the BCL v4 patch series. Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com>
This reverts commit d2d0a73. These changes are superseded by the BCL v4 patch series. Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com>
This reverts commit 39023ce. These changes are superseded by the BCL v4 patch series. Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com>
This reverts commit ad08236. These changes are superseded by the BCL v4 patch series. Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com>
This reverts commit a58f3b3. These changes are superseded by the BCL v4 patch series. Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com>
This reverts commit 9635b85. These changes are superseded by the BCL v4 patch series. Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com>
…ergency attributes Some hardware monitoring chips support three alarm levels for current and voltage high limits, and three alarm levels for voltage low limits. Add support for currX_emergency, inX_emergency, and inX_lemergency attributes together with the appropriate alarm attributes to support such chips. Cc: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com> Tested-by: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Link: https://patch.msgid.link/20260813211433.879638-1-linux@roeck-us.net Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com>
Qualcomm SPMI PMIC BCL (Battery Current Limiting) is a safety feature that monitors battery or system voltage and current to alert system for overcurrent or undervoltage conditions. It provides: - Real-time voltage and current monitoring - Configurable thresholds per channel - Hardware interrupts when thresholds are violated Add a devicetree binding to describe the BCL on Qualcomm's PMICs. Add sensor type to SPMI device list for BCL device. Signed-off-by: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com> Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com> Link: https://lore.kernel.org/r/20261005-qcom-bcl-hwmon-v4-1-50b9a8c730b7@oss.qualcomm.com
Add driver for Qualcomm SPMI PMIC Battery Current Limiting (BCL) hardware monitor. The driver exposes battery voltage and current monitoring through hwmon interface. The BCL driver provides - Real-time voltage and current readings - Configurable threshold-based alarms - Interrupt-driven notifications when thresholds are exceeded - Automatic threshold management with polling-based recovery - Hardware-specific scaling factors and threshold representations Signed-off-by: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com> Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com> Link: https://lore.kernel.org/r/20261005-qcom-bcl-hwmon-v4-2-50b9a8c730b7@oss.qualcomm.com
Add Battery Current Limiting (BCL) hardware monitor node for hamoa-pmic. The BCL monitors battery voltage and current, providing hardware interrupts when configurable thresholds are violated. Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Signed-off-by: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com> Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com> Link: https://lore.kernel.org/r/20261005-qcom-bcl-hwmon-v4-3-50b9a8c730b7@oss.qualcomm.com
Add Battery Current Limiting (BCL) hardware monitor node for pm7550-eliza. The BCL monitors battery voltage and current, providing hardware interrupts when configurable thresholds are violated. Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Signed-off-by: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com> Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com> Link: https://lore.kernel.org/r/20261005-qcom-bcl-hwmon-v4-5-50b9a8c730b7@oss.qualcomm.com
Add Battery Current Limiting (BCL) hardware monitor node for pm7550ba-eliza. The BCL monitors battery voltage and current, providing hardware interrupts when configurable thresholds are violated. Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Signed-off-by: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com> Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com> Link: https://lore.kernel.org/r/20261005-qcom-bcl-hwmon-v4-6-50b9a8c730b7@oss.qualcomm.com
Add Battery Current Limiting (BCL) hardware monitor node for pm8550 PMIC. The BCL monitors battery voltage and current, providing hardware interrupts when configurable thresholds are violated. Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Signed-off-by: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com> Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com> Link: https://lore.kernel.org/r/20261005-qcom-bcl-hwmon-v4-8-50b9a8c730b7@oss.qualcomm.com
Add Battery Current Limiting (BCL) hardware monitor node for pmh0101 PMIC. The BCL monitors battery voltage and current, providing hardware interrupts when configurable thresholds are violated. Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Signed-off-by: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com> Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com> Link: https://lore.kernel.org/r/20261005-qcom-bcl-hwmon-v4-9-50b9a8c730b7@oss.qualcomm.com
Add Battery Current Limiting (BCL) hardware monitor node for pmih0108 PMIC. The BCL monitors battery voltage and current, providing hardware interrupts when configurable thresholds are violated. Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Signed-off-by: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com> Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com> Link: https://lore.kernel.org/r/20261005-qcom-bcl-hwmon-v4-11-50b9a8c730b7@oss.qualcomm.com
Add Battery Current Limiting (BCL) hardware monitor node for smb2370 PMIC. The BCL monitors battery voltage and current, providing hardware interrupts when configurable thresholds are violated. Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Signed-off-by: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com> Signed-off-by: Aastha Pandey <aastpand@qti.qualcomm.com> Link: https://lore.kernel.org/r/20261005-qcom-bcl-hwmon-v4-12-50b9a8c730b7@oss.qualcomm.com
Shiraz Hashim (shashim-quic)
approved these changes
Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update Qualcomm PMIC BCL hwmon support on qcom-7.3-es from v2 to v4 (https://lore.kernel.org/all/20261005-qcom-bcl-hwmon-v4-0-50b9a8c730b7@oss.qualcomm.com/) and enable BCL on eliza (pm7550/pm7550ba): revert the remaining v2 commits.